<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>>
<c:set var="basePath" value="${pageContext.request.contextPath}"></c:set>
<script type="text/javascript" src="${basePath}/jquery/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src="${basePath}/js/user/userAdd.js"></script>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>欢迎注册</title>
</head>
<body>
   <div style="overflow: hidden;padding: 3px;">
     <form action="/ssm/admin/user/userAdd" method="post" id="addForm">
		        登录名：<input name="loginName" type="text" placeholder="请输入登录名称" id="loginNameId"/><br>
		        姓名：<input name="name" type="text" placeholder="请输入名称" id="nameId"/><br>
		        密码：<input name="password" type="password" placeholder="请输入密码" id="passwordId"/><br>
		        性别：<select name="sex" id="sexId" >
		            <option value="0" selected="selected">男</option>
		            <option value="1" >女</option>
		       </select><br>
		       年龄：<input name="age" type="text" id="ageId"/><br>
		       用户类型：<select name="userType" id="userTypeId">
		            <option value="0">管理员</option>
		            <option value="1" selected="selected">用户</option>
		         </select><br>       
		      所属部门： <select id="userAddOrganizationId" name="organizationId" style="width: 140px; height: 29px;">
		            <option  selected="selected">请选择</option>
		            <option value="1">总经办</option>
		            <option value="3">技术部</option>
		            <option value="5">产品部</option>
		            <option value="6">测试组</option>		           
		         </select><br>
		       角色：<select id="userAddRoleIds" name="roleIds" style="width: 140px; height: 29px;"></select><br>
		       电话：<input type="text" name="phone" id="phoneId"/><br>
		       状态：<select name="status" id="statusId">
	             <option value="0">正常</option>
	             <option value="1">停用</option>
		       </select><br>
          <input id="userAdd" type="submit" value="注册"/><br>
       
     </form>
   </div>
</body>
</html>
